var input = prompt("Enter a number to count to");
var y=0
while(isNaN(input)){
	if (y<5){
	var input = prompt("Enter a NUMBER to count to");
	y=y+1;
	}
	if (y>=5){
	var input = prompt("Please enter an actual numerical value to count to or The Internet will have it's revenge");
	}
	}

for (var i=0;i<=input;i++){
	
	if (i%5==0){
		document.write("<br><b>"+i+"</b>");
	}
	else {
			document.write("<br>"+i);
		}
	
}
